﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Security;

namespace KeyCore.Framework.Repositories
{
}

namespace KeyCore.Framework.Repositories.Interfaces
{
   
    public interface IUserRepository : IDisposable
    {
        
        MembershipUser CreateUser(string userName, string password, string email, bool isApproved);
        MembershipUser GetUser(string userName);
        MembershipUser GetUser(Guid userId);
        MembershipUser GetUserByName(string userName);
        MembershipUserCollection GetAllUsers(int pageIndex, int pageSize, out int totalRecords);
        string GetUserNameByEmail(string email);
        void Save();
    }
}
